{* 
//////
//    @version [ Masterton ]
//    @package hwdVideoShare
//    @copyright (C) 2007 - 2009 Highwood Design
//    @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
//////
//    hwdVideoShare Template System:::This template system uses the Smarty Template Engine. 
//    For full documentation, including syntax usage please refer to http://www.smarty.net 
//    or our website at http://www.hwdmediashare.co.uk   
//////
//    This file generates the header for the hwdVideoShare component and outputs the top navigation system.
//////
//    VARIABLES AVAILBLE IN THIS TEMPLATE FILE:                                        
//    -- $print_ads.......Only set if hwdRevenueManager is installed 
//    -- $advert1.........The code for Advert1 
//    -- $advert2.........The code for Advert2 
//    -- $print_nav.......Only set if any navigation buttons are enabled
//    -- $print_vlink.....Only set if "videos" link is enabled
//    -- $print_clink.....Only set if "categories" link is enabled
//    -- $print_glink.....Only set if "groups" link is enabled
//    -- $print_ulink.....Only set if "upload" link is enabled
//    -- $print_search....Only set if search function is enabled
//    -- $form_search.....The URL to post the search form
//    -- $searchinput.....The search text input code 
//    -- $print_usernav...Only set if any user navigation links are enabled
//    -- $yv..............The link to "your videos"
//    -- $yf..............The link to "your favourites"
//    -- $yg..............The link to "your groups"  
//    -- $ym..............The link to "your group memberships"
//    -- $cg..............The link to "create group" 
//////
*}

{if $show_page_title eq "1"}<div class="componentheading{$pageclass_sfx}">{$page_title}</div>{/if}

<div id="hwdvids">

	{if $print_ads}{if $advert1}<div id="hwdadverts-padding">{$advert1}</div>{/if}{/if}

	<div class="hwdmodule-top">
	
		<div style="padding:10px;">

			{if $print_nav}
			<a href="{$rss_recent}" style="float:right; padding 0 5px;"><img src="{$URL_HWDVS_IMAGES}rss.png" border="0" alt="RSS" title="RSS" width="22" height="22" /></a>
			{if $print_search}
				<div class="rounded_input">
					<div class="contain menudo_image">
						<form action="{$form_search}" method="post">
							{$searchinput_alt}
							<input type="submit" value="" onclick="menudo_search(); return false;" class="button" />
						</form>
					</div>
				</div>
			{/if}





				
			<div id="hwdvs_navcontainer">
			<ul id="navlist">
			{if $print_vlink}<li{$von}>&#160;{$vlink}&#160;</li>{/if}
			{if $print_clink}<li{$con}>&#160;{$clink}&#160;</li>{/if}
			{if $print_glink}<li{$gon}>&#160;{$glink}&#160;</li>{/if}
			{if $print_ulink}<li{$uon}>&#160;{$ulink}&#160;</li>{/if}
			</ul>
			</div>
			{/if}
		
		</div>

	</div>

	{if $print_usernav}
		<div class="hwdmodule-un">&#160;&#160;{$yv}&#160;&#160;{$yf}&#160;&#160;{$yg}&#160;&#160;{$ym}&#160;&#160;{$cg}&#160;&#160;</div>
	{/if}

	{if $print_ads}{if $advert2}<div id="hwdadverts-padding">{$advert2}</div>{/if}{/if}

